<!doctype html>


<html>
<head>
  <link rel="shortcut icon" href="static/images/favicon.ico" type="image/x-icon">
  <title>ModuleManager (Closure Library API Documentation - JavaScript)</title>
  <link rel="stylesheet" href="static/css/base.css">
  <link rel="stylesheet" href="static/css/doc.css">
  <link rel="stylesheet" href="static/css/sidetree.css">
  <link rel="stylesheet" href="static/css/prettify.css">

  <script>
     var _staticFilePath = "static/";
     var _typeTreeName = "goog";
     var _fileTreeName = "Source";
  </script>

  <script src="static/js/doc.js">
  </script>

  <script type="text/javascript" src="//www.google.com/jsapi"></script>
  <script type="text/javascript">
     google.load("visualization", "1", {packages:["orgchart"]});
     var _loadingVisualizations = true;
  </script>

  <meta charset="utf8">
</head>

<body onload="grokdoc.onLoad();">

<div id="header">
  <div class="g-section g-tpl-50-50 g-split">
    <div class="g-unit g-first">
      <a id="logo" href="index.html">Closure Library API Documentation</a>
    </div>

    <div class="g-unit">
      <div class="g-c">
        <strong>Go to class or file:</strong>
        <input type="text" id="ac">
      </div>
    </div>
  </div>
</div>





<div class="colmask rightmenu">
<div class="colleft">
    <div class="col1">
      <!-- Column 1 start -->

<div id="title">
        <span class="fn">module.ModuleManager</span>
        <span>Extends</span>
        <span class="fn-name">
          <a href="class_goog_Disposable.html">
          goog.Disposable
</a>
        </span>
</div>

<div class="g-section g-tpl-75-25">
  <div class="g-unit g-first" id="description">
    The ModuleManager keeps track of all modules in the environment.
Since modules may not have their code loaded, we must keep track of them.

  </div>


        <div class="g-unit" id="useful-links">
          <div class="title">Useful links</div>
          <ol>
            <li><a href="local_closure_goog_module_modulemanager.js.source.html"><span class='source-code-link'>Source Code</span></a></li>
            <li><a href="http://code.google.com/p/closure-library/source/browse/local/closure/goog/module/modulemanager.js">Git</a></li>
          </ol>
        </div>
</div>






<h2 class="g-first">Inheritance</h2>
<div class='gviz-org-chart-container goog-inline-block'>
<table class='gviz-org-chart' style='display:none'>
  <tr><td><span class="type"><a href="class_goog_Disposable.html">goog.Disposable</a></span></td><td></td></tr>
  <tr><td>goog.module.ModuleManager</td><td><span class="type"><a href="class_goog_Disposable.html">goog.Disposable</a></span></td></tr>
</table>
</div>
<div class='gviz-org-chart-container goog-inline-block'>
<table class='gviz-org-chart' style='display:none'>
</table>
</div>




  <h2>Constructor</h2>
      <div class="fn-constructor">
    goog.module.ModuleManager(<span></span>)
  </div>



<h2>Instance Methods</h2>


  <div class="legend">
        <span class="key publickey"></span><span>Public</span>
        <span class="key protectedkey"></span><span>Protected</span>
        <span class="key privatekey"></span><span>Private</span>
  </div>







<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_module_ModuleManager.html">
              goog.module.ModuleManager
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.addLoadModule_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">addLoadModule_<span class="args">(<span class="arg">id</span>,&nbsp;<span class="arg">d</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Loads a single module for use with a given deferred.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">id</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The id of the module to load.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">d</span>
        : <span class="type"><a href="class_goog_async_Deferred.html">goog.async.Deferred</a></span>
        <div class="entryOverview">A deferred object.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line532">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.addUserInitiatedLoadingModule_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">addUserInitiatedLoadingModule_<span class="args">(<span class="arg">id</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Ensures that the module with the given id is listed as a user-initiated
module that is being loaded. This method guarantees that a module will never
get listed more than once.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">id</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">Identifier of the module.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line1000">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.afterLoadModuleCode"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">afterLoadModuleCode<span class="args">(<span class="arg">id</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Method called just after module code is loaded

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">id</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">Identifier of the module.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line1030">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.beforeLoadModuleCode"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">beforeLoadModuleCode<span class="args">(<span class="arg">id</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Method called just before a module code is loaded.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">id</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">Identifier of the module.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line1012">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.dispatchActiveIdleChangeIfNeeded_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">dispatchActiveIdleChangeIfNeeded_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Dispatches an ACTIVE or IDLE event if necessary.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line455">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.dispatchModuleLoadFailed_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">dispatchModuleLoadFailed_<span class="args">(<span class="arg">cause</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Handles when a module load failed.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">cause</span>
        : <span class="type">goog.module.ModuleManager.FailureType</span>
        <div class="entryOverview">The reason for the
    failure.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line1226">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.disposeInternal"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">disposeInternal<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line1362">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.execOnLoad"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">execOnLoad<span class="args">(<span class="arg">moduleId</span>,&nbsp;<span class="arg">fn</span>,&nbsp;<span class="arg">opt_handler</span>,&nbsp;<span class="arg">opt_noLoad</span>,&nbsp;<span class="arg">opt_userInitiated</span>,&nbsp;<span class="arg">opt_preferSynchronous</span>)</span>
        </span>
        &#8658; <span class="type"><a href="class_goog_module_ModuleLoadCallback.html">goog.module.ModuleLoadCallback</a></span>
      </div>


     <div class="entryOverview">
       Requests that a function be called once a particular module is loaded.
Client code can use this method to safely call into modules that may not yet
be loaded. For consistency, this method always calls the function
asynchronously -- even if the module is already loaded. Initiates loading of
the module if necessary, unless opt_noLoad is true.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">moduleId</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">A module id.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">fn</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Function">Function</a></span>
        <div class="entryOverview">Function to execute when the module has loaded.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">opt_handler</span>
        : <span class="type">Object=</span>
        <div class="entryOverview">Optional handler under whose scope to execute
    the callback.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_noLoad</span>
        : <span class="type">boolean=</span>
        <div class="entryOverview">TRUE iff not to initiate loading of the module.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">opt_userInitiated</span>
        : <span class="type">boolean=</span>
        <div class="entryOverview">TRUE iff the loading of the module was
    user initiated.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_preferSynchronous</span>
        : <span class="type">boolean=</span>
        <div class="entryOverview">TRUE iff the function should be
    executed synchronously if the module has already been loaded.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="class_goog_module_ModuleLoadCallback.html">goog.module.ModuleLoadCallback</a></span>&nbsp;
            A callback wrapper that exposes
    an abort and execute method.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line918">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.executeCallbacks_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">executeCallbacks_<span class="args">(<span class="arg">type</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Call the callback functions of the specified type.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">type</span>
        : <span class="type">goog.module.ModuleManager.CallbackType</span>
        <div class="entryOverview">The callback type.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line1353">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.getBackOff_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getBackOff_<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
      </div>


     <div class="entryOverview">
       Gets the amount of delay to wait before sending a request for more modules.
If a certain module request fails, we backoff a little bit and try again.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>&nbsp;
            Delay, in ms.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line664">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.getLoader"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getLoader<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="interface_goog_module_AbstractModuleLoader.html">goog.module.AbstractModuleLoader</a></span>
      </div>


     <div class="entryOverview">
       Gets the application-specific module loader.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="interface_goog_module_AbstractModuleLoader.html">goog.module.AbstractModuleLoader</a></span>&nbsp;
            An object that has a
    loadModules(ids, moduleInfoMap, opt_successFn, opt_errFn,
        opt_timeoutFn, opt_forceReload) method.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line398">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.getModuleContext"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getModuleContext<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Object">Object</a></span>
      </div>


     <div class="entryOverview">
       Gets the module context to use to initialize the module.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Object">Object</a></span>&nbsp;
            The context.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line418">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.getModuleInfo"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getModuleInfo<span class="args">(<span class="arg">id</span>)</span>
        </span>
        &#8658; <span class="type"><a href="class_goog_module_ModuleInfo.html">goog.module.ModuleInfo</a></span>
      </div>


     <div class="entryOverview">
       Gets a module info object by id.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">id</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">A module identifier.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="class_goog_module_ModuleInfo.html">goog.module.ModuleInfo</a></span>&nbsp;
            The module info.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line375">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.getNotYetLoadedTransitiveDepIds_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getNotYetLoadedTransitiveDepIds_<span class="args">(<span class="arg">id</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&gt;
      </div>


     <div class="entryOverview">
       Builds a list of the ids of the not-yet-loaded modules that a particular
module transitively depends on, including itself.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">id</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The id of a not-yet-loaded module.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&gt;&nbsp;
            An array of module ids in dependency order that's
    guaranteed to end with the provided module id.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line790">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.handleLoadError_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">handleLoadError_<span class="args">(<span class="arg">requestedLoadingModuleIds</span>,&nbsp;<span class="arg">requestedModuleIdsWithDeps</span>,&nbsp;<span class="arg">status</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Handles a module load failure.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">requestedLoadingModuleIds</span>
        : <span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&gt;
        <div class="entryOverview">Modules ids that were
    requested in failed request. Does not included calculated dependencies.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">requestedModuleIdsWithDeps</span>
        : <span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&gt;
        <div class="entryOverview">All module ids requested
    in the failed request including all dependencies.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">status</span>
        : <span>?</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The error status.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line1140">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.handleLoadTimeout_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">handleLoadTimeout_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Handles a module load timeout.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line1184">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.isActive"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">isActive<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Determines if the ModuleManager is active

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            TRUE iff the ModuleManager is active (i.e., not idle).
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line437">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.isModuleLoading"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">isModuleLoading<span class="args">(<span class="arg">id</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Gets whether a module is currently loading or in the queue, waiting to be
loaded.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">id</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">A module id.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            TRUE iff the module is loading.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line886">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.isUserActive"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">isUserActive<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Determines if the ModuleManager is user active

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            TRUE iff the ModuleManager is user active (i.e., not idle).
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line446">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.load"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">load<span class="args">(<span class="arg">moduleId</span>,&nbsp;<span class="arg">opt_userInitiated</span>)</span>
        </span>
        &#8658; <span class="type"><a href="class_goog_async_Deferred.html">goog.async.Deferred</a></span>
      </div>


     <div class="entryOverview">
       Loads a module, returning a goog.async.Deferred for keeping track of the
result.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">moduleId</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">A module id.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_userInitiated</span>
        : <span class="type">boolean=</span>
        <div class="entryOverview">If the load is a result of a user action.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="class_goog_async_Deferred.html">goog.async.Deferred</a></span>&nbsp;
            A deferred object.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line969">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.loadModulesOrEnqueueIfNotLoadedOrLoading_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">loadModulesOrEnqueueIfNotLoadedOrLoading_<span class="args">(<span class="arg">ids</span>,&nbsp;<span class="arg">opt_userInitiated</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Object">Object</a></span>.&lt;<span>!</span><span class="type"><a href="class_goog_async_Deferred.html">goog.async.Deferred</a></span>&gt;
      </div>


     <div class="entryOverview">
       Loads a list of modules or, if some other module is currently being loaded,
appends the ids to the queue of requested module ids. Registers callbacks a
module that is currently loading and returns a fired deferred for a module
that is already loaded.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">ids</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&gt;
        <div class="entryOverview">The id of the module to load.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_userInitiated</span>
        : <span class="type">boolean=</span>
        <div class="entryOverview">If the load is a result of a user action.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Object">Object</a></span>.&lt;<span>!</span><span class="type"><a href="class_goog_async_Deferred.html">goog.async.Deferred</a></span>&gt;&nbsp;
            A mapping from id (String) to
    deferred objects that will callback or errback when the load for that
    id is finished.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line559">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.loadModulesOrEnqueue_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">loadModulesOrEnqueue_<span class="args">(<span class="arg">ids</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Initiates loading of a list of modules or, if a module is currently being
loaded, appends the modules to the queue of requested module ids.

The caller should verify that the requested modules are not already loaded or
loading. <code> #loadModulesOrEnqueueIfNotLoadedOrLoading_</code> is a more lenient
alternative to this method.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">ids</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&gt;
        <div class="entryOverview">The ids of the modules to load.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line638">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.loadModules_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">loadModules_<span class="args">(<span class="arg">ids</span>,&nbsp;<span class="arg">opt_isRetry</span>,&nbsp;<span class="arg">opt_forceReload</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Loads a list of modules and any of their not-yet-loaded prerequisites.
If batch mode is enabled, the prerequisites will be loaded together with the
requested modules and all requested modules will be loaded at the same time.

The caller should verify that the requested modules are not already loaded
and that no modules are currently loading before calling this method.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">ids</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&gt;
        <div class="entryOverview">The ids of the modules to load.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_isRetry</span>
        : <span class="type">boolean=</span>
        <div class="entryOverview">If the load is a retry of a previous load
    attempt.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">opt_forceReload</span>
        : <span class="type">boolean=</span>
        <div class="entryOverview">Whether to bypass cache while loading the
    module.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line685">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.loadMultiple"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">loadMultiple<span class="args">(<span class="arg">moduleIds</span>,&nbsp;<span class="arg">opt_userInitiated</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Object">Object</a></span>.&lt;<span>!</span><span class="type"><a href="class_goog_async_Deferred.html">goog.async.Deferred</a></span>&gt;
      </div>


     <div class="entryOverview">
       Loads a list of modules, returning a goog.async.Deferred for keeping track of
the result.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">moduleIds</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&gt;
        <div class="entryOverview">A list of module ids.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_userInitiated</span>
        : <span class="type">boolean=</span>
        <div class="entryOverview">If the load is a result of a user action.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Object">Object</a></span>.&lt;<span>!</span><span class="type"><a href="class_goog_async_Deferred.html">goog.async.Deferred</a></span>&gt;&nbsp;
            A mapping from id (String) to
    deferred objects that will callback or errback when the load for that
    id is finished.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line986">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.loadNextModules_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">loadNextModules_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Loads the next modules on the queue.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line1296">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.maybeFinishBaseLoad_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">maybeFinishBaseLoad_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       If we are still loading the base module, consider the load complete.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line819">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.prefetchModule"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">prefetchModule<span class="args">(<span class="arg">id</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Prefetches a JavaScript module and its dependencies, which means that the
module will be downloaded, but not evaluated. To complete the module load,
the caller should also call load or execOnLoad after prefetching the module.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">id</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The id of the module to prefetch.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line509">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.preloadModule"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">preloadModule<span class="args">(<span class="arg">id</span>,&nbsp;<span class="arg">opt_timeout</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_async_Deferred.html">goog.async.Deferred</a></span>
      </div>


     <div class="entryOverview">
       Preloads a module after a short delay.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">id</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The id of the module to preload.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_timeout</span>
        : <span class="type">number=</span>
        <div class="entryOverview">The number of ms to wait before adding the
    module id to the loading queue (defaults to 0 ms). Note that the module
    will be loaded asynchronously regardless of the value of this parameter.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_async_Deferred.html">goog.async.Deferred</a></span>&nbsp;
            A deferred object.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line492">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.processModulesForLoad_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">processModulesForLoad_<span class="args">(<span class="arg">ids</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&gt;
      </div>


     <div class="entryOverview">
       Processes a list of module ids for loading. Checks if any of the modules are
already loaded and then gets transitive deps. Queues any necessary modules
if batch mode is not enabled. Returns the list of ids that should be loaded.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">ids</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&gt;
        <div class="entryOverview">The ids that need to be loaded.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&gt;&nbsp;
            The ids to load, including dependencies.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line745">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.registerCallback"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">registerCallback<span class="args">(<span class="arg">types</span>,&nbsp;<span class="arg">fn</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       The function to call if the module manager is in error.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">types</span>
        : <span class="type">goog.module.ModuleManager.CallbackType</span><span>&nbsp;|&nbsp;</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type">goog.module.ModuleManager.CallbackType</span>&gt;
        <div class="entryOverview">The callback type.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">fn</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Function">Function</a></span>
        <div class="entryOverview">The function to register as a callback.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line1321">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.registerCallback_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">registerCallback_<span class="args">(<span class="arg">type</span>,&nbsp;<span class="arg">fn</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Register a callback for the specified callback type.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">type</span>
        : <span class="type">goog.module.ModuleManager.CallbackType</span>
        <div class="entryOverview">The callback type.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">fn</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Function">Function</a></span>
        <div class="entryOverview">The callback function.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line1339">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.registerInitializationCallback"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">registerInitializationCallback<span class="args">(<span class="arg">fn</span>,&nbsp;<span class="arg">opt_handler</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Register an initialization callback for the currently loading module. This
should only be called by script that is executed during the evaluation of
a module's javascript. This is almost equivalent to calling the function
inline, but ensures that all the code from the currently loading module
has been loaded. This makes it cleaner and more robust than calling the
function inline.

If this function is called from the base module (the one that contains
the module manager code), the callback is held until #setAllModuleInfo
is called, or until #setModuleContext is called, whichever happens first.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">fn</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Function">Function</a></span>
        <div class="entryOverview">A callback function that takes a single argument
   which is the module context.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_handler</span>
        : <span class="type">Object=</span>
        <div class="entryOverview">Optional handler under whose scope to execute
    the callback.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line1062">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.registerLateInitializationCallback"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">registerLateInitializationCallback<span class="args">(<span class="arg">fn</span>,&nbsp;<span class="arg">opt_handler</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Register a late initialization callback for the currently loading module.
Callbacks registered via this function are executed similar to
, but they are fired after all
initialization callbacks are called.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">fn</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Function">Function</a></span>
        <div class="entryOverview">A callback function that takes a single argument
   which is the module context.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_handler</span>
        : <span class="type">Object=</span>
        <div class="entryOverview">Optional handler under whose scope to execute
    the callback.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line1083">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.registerModuleLoadCallbacks_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">registerModuleLoadCallbacks_<span class="args">(<span class="arg">id</span>,&nbsp;<span class="arg">moduleInfo</span>,&nbsp;<span class="arg">userInitiated</span>,&nbsp;<span class="arg">d</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Registers the callbacks and handles logic if it is a user initiated module
load.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">id</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The id of the module to possibly load.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">moduleInfo</span>
        : <span>!</span><span class="type"><a href="class_goog_module_ModuleInfo.html">goog.module.ModuleInfo</a></span>
        <div class="entryOverview">The module identifier for the
    given id.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">userInitiated</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
        <div class="entryOverview">If the load was user initiated.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">d</span>
        : <span class="type"><a href="class_goog_async_Deferred.html">goog.async.Deferred</a></span>
        <div class="entryOverview">A deferred object.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line603">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.requeueBatchOrDispatchFailure_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">requeueBatchOrDispatchFailure_<span class="args">(<span class="arg">cause</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Requeues batch loads that had more than one requested module
(i.e. modules that were not included as dependencies) as separate loads or
if there was only one requested module, fails that module with the received
cause.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">cause</span>
        : <span class="type">goog.module.ModuleManager.FailureType</span>
        <div class="entryOverview">The reason for the
    failure.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line1202">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.setAllModuleInfo"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setAllModuleInfo<span class="args">(<span class="arg">infoMap</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets the module info for all modules. Should only be called once.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">infoMap</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Object">Object</a></span>.&lt;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&gt;&gt;
        <div class="entryOverview">An object that contains a mapping
   from module id (String) to list of required module ids (Array).</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line302">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.setAllModuleInfoString"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setAllModuleInfoString<span class="args">(<span class="arg">opt_info</span>,&nbsp;<span class="arg">opt_loadingModuleIds</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets the module info for all modules. Should only be called once. Also
marks modules that are currently being loaded.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">opt_info</span>
        : <span class="type">string=</span>
        <div class="entryOverview">A string representation of the module dependency
     graph, in the form: module1:dep1,dep2/module2:dep1,dep2 etc.
    Where depX is the base-36 encoded position of the dep in the module list.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_loadingModuleIds</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type">string></span>&gt;
        <div class="entryOverview">A list of moduleIds that
    are currently being loaded.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line323">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.setBatchModeEnabled"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setBatchModeEnabled<span class="args">(<span class="arg">enabled</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets the batch mode as enabled or disabled for the module manager.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">enabled</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
        <div class="entryOverview">Whether the batch mode is to be enabled or not.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line278">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.setConcurrentLoadingEnabled"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setConcurrentLoadingEnabled<span class="args">(<span class="arg">enabled</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets the concurrent loading mode as enabled or disabled for the module
manager. Requires a moduleloader implementation that supports concurrent
loads. The default  does not.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">enabled</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
        <div class="entryOverview"><span class='nodesc'>No description.</span></div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line290">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.setLoaded"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setLoaded<span class="args">(<span class="arg">id</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Records that a module was loaded. Also initiates loading the next module if
any module requests are queued. This method is called by code that is
generated and appended to each dynamic module's code at compilation time.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">id</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">A module id.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line841">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.setLoader"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setLoader<span class="args">(<span class="arg">loader</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets the application-specific module loader.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">loader</span>
        : <span class="type"><a href="interface_goog_module_AbstractModuleLoader.html">goog.module.AbstractModuleLoader</a></span>
        <div class="entryOverview">An object that has a
    loadModules(ids, moduleInfoMap, opt_successFn, opt_errFn,
        opt_timeoutFn, opt_forceReload) method.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line409">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.setModuleConstructor"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setModuleConstructor<span class="args">(<span class="arg">fn</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets the constructor to use for the module object for the currently
loading module. The constructor should derive from .

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">fn</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Function">Function</a></span>
        <div class="entryOverview">The constructor function.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line1099">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.setModuleContext"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setModuleContext<span class="args">(<span class="arg">context</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets the module context to use to initialize the module.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">context</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Object">Object</a></span>
        <div class="entryOverview">The context.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line427">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.prototype.setModuleUris"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setModuleUris<span class="args">(<span class="arg">moduleUriMap</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets the module uris.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">moduleUriMap</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Object">Object</a></span>
        <div class="entryOverview">The map of id/uris pairs for each module.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line385">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>

<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_Disposable.html">
              goog.Disposable
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.Disposable.prototype.addOnDisposeCallback"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">addOnDisposeCallback<span class="args">(<span class="arg">callback</span>,&nbsp;<span class="arg">opt_scope</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Invokes a callback function when this object is disposed. Callbacks are
invoked in the order in which they were added.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">callback</span>
        : <span class="type">function(this:T</span>)<span>:?</span>
        <div class="entryOverview">The callback function.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_scope</span>
        : <span class="type">T=</span>
        <div class="entryOverview">An optional scope to call the callback in.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_disposable_disposable.js.source.html#line211">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.Disposable.prototype.dispose"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">dispose<span class="args">()</span>
        </span>
        &#8658; <span class="type">void</span>
      </div>


     <div class="entryOverview">
       Disposes of the object. If the object hasn't already been disposed of, calls
<code> #disposeInternal</code>. Classes that extend <code> goog.Disposable</code> should
override <code> #disposeInternal</code> in order to delete references to COM
objects, DOM nodes, and other disposable objects. Reentrant.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type">void</span>&nbsp;
            Nothing.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_disposable_disposable.js.source.html#line172">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry protected">
       <td class="access"></td>






  <td>
    <a name="goog.Disposable.prototype.disposeInternal"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">disposeInternal<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Deletes or nulls out any references to COM objects, DOM nodes, or other
disposable objects. Classes that extend <code> goog.Disposable</code> should
override this method.
Not reentrant. To avoid calling it twice, it must only be called from the
subclass' <code> disposeInternal</code> method. Everywhere else the public
<code> dispose</code> method must be used.
For example:
<pre class="lang-js prettyprint">
  mypackage.MyClass = function() {
    goog.base(this);
    // Constructor logic specific to MyClass.
    ...
  };
  goog.inherits(mypackage.MyClass, goog.Disposable);

  mypackage.MyClass.prototype.disposeInternal = function() {
    // Dispose logic specific to MyClass.
    ...
    // Call superclass's disposeInternal at the end of the subclass's, like
    // in C++, to avoid hard-to-catch issues.
    goog.base(this, 'disposeInternal');
  };
</pre>
     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_disposable_disposable.js.source.html#line245">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td class="deprecated">
    <a name="goog.Disposable.prototype.getDisposed"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getDisposed<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       <span class="deprecatedMessage">Use <code> #isDisposed</code> instead.</span>
       <span class='nodesc'>No description.</span>
     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            Whether the object has been disposed of.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_disposable_disposable.js.source.html#line160">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.Disposable.prototype.isDisposed"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">isDisposed<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            Whether the object has been disposed of.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_disposable_disposable.js.source.html#line151">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.Disposable.prototype.registerDisposable"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">registerDisposable<span class="args">(<span class="arg">disposable</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Associates a disposable object with this object so that they will be disposed
together.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">disposable</span>
        : <span class="type"><a href="interface_goog_disposable_IDisposable.html">goog.disposable.IDisposable</a></span>
        <div class="entryOverview">that will be disposed when
    this object is disposed.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_disposable_disposable.js.source.html#line199">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>




<h2>Instance Properties</h2>







<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_module_ModuleManager.html">
              goog.module.ModuleManager
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.prototype.baseModuleInfo_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">baseModuleInfo_</span>
        : <span class="type"><a href="class_goog_module_ModuleInfo.html">goog.module.ModuleInfo</a></span>
     </div>


     <div class="entryOverview">
       Module info for the base module (the one that contains the module
manager code), which we set as the loading module so one can
register initialization callbacks in the base module.

The base module is considered loaded when #setAllModuleInfo is called or
#setModuleContext is called, whichever comes first.


     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line118">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.prototype.batchModeEnabled_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">batchModeEnabled_</span>
        : 
     </div>


     <div class="entryOverview">
       Whether the batch mode (i.e. the loading of multiple modules with just one
request) has been enabled.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line209">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.prototype.callbackMap_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">callbackMap_</span>
        : 
     </div>


     <div class="entryOverview">
       A map of callback types to the functions to call for the specified
callback type.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line105">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.prototype.concurrentLoadingEnabled_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">concurrentLoadingEnabled_</span>
        : 
     </div>


     <div class="entryOverview">
       Whether the module requests may be sent out of order.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line217">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.prototype.consecutiveFailures_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">consecutiveFailures_</span>
        : 
     </div>


     <div class="entryOverview">
       The number of consecutive failures that have happened upon module load
requests.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line244">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.prototype.constructor"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">constructor</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line44">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.prototype.currentlyLoadingModule_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">currentlyLoadingModule_</span>
        : <span class="type"><a href="class_goog_module_ModuleInfo.html">goog.module.ModuleInfo</a></span>
     </div>


     <div class="entryOverview">
       The module that is currently loading, or null if not loading anything.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line125">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.prototype.initialModulesLoaded_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">initialModulesLoaded_</span>
        : <span class="type"><a href="class_goog_async_Deferred.html">goog.async.Deferred</a></span>
     </div>


     <div class="entryOverview">
       Deferred for when all initial modules have loaded. We currently block
sending additional module requests until this deferred resolves. In a
future optimization it may be possible to use the initial modules as
seeds for the module loader "requested module ids" and start making new
requests even sooner.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line142">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.prototype.lastActive_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">lastActive_</span>
        : 
     </div>


     <div class="entryOverview">
       Determines if the module manager was just active before the processing of
the last data.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line253">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.prototype.lastInitialModuleId_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">lastInitialModuleId_</span>
        : 
     </div>


     <div class="entryOverview">
       The id of the last requested initial module. When it loaded
the deferred in <code> this.initialModulesLoaded_</code> resolves.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line132">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.prototype.loadTracer_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">loadTracer_</span>
        : 
     </div>


     <div class="entryOverview">
       Tracer that measures how long it takes to load a module.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line235">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.prototype.loader_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">loader_</span>
        : <span class="type"><a href="interface_goog_module_AbstractModuleLoader.html">goog.module.AbstractModuleLoader</a></span>
     </div>


     <div class="entryOverview">
       A loader for the modules that implements loadModules(ids, moduleInfoMap,
opt_successFn, opt_errorFn, opt_timeoutFn, opt_forceReload) method.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line226">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.prototype.loadingModuleIds_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">loadingModuleIds_</span>
        : 
     </div>


     <div class="entryOverview">
       The ids of the currently loading modules. If batch mode is disabled, then
this array will never contain more than one element at a time.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line61">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.prototype.logger_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">logger_</span>
        : <span class="type"><a href="class_goog_debug_Logger.html">goog.debug.Logger</a></span>
     </div>


     <div class="entryOverview">
       A logger.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line199">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.prototype.moduleContext_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">moduleContext_</span>
        : 
     </div>


     <div class="entryOverview">
       The module context needed for module initialization.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line271">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.prototype.moduleInfoMap_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">moduleInfoMap_</span>
        : 
     </div>


     <div class="entryOverview">
       A mapping from module id to ModuleInfo object.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line52">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.prototype.requestedLoadingModuleIds_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">requestedLoadingModuleIds_</span>
        : 
     </div>


     <div class="entryOverview">
       The requested ids of the currently loading modules. This does not include
module dependencies that may also be loading.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line69">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.prototype.requestedModuleIdsQueue_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">requestedModuleIdsQueue_</span>
        : 
     </div>


     <div class="entryOverview">
       A queue of the ids of requested but not-yet-loaded modules. The zero
position is the front of the queue. This is a 2-D array to group modules
together with other modules that should be batch loaded with them, if
batch loading is enabled.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line89">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.prototype.requestedModuleIds_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">requestedModuleIds_</span>
        : 
     </div>


     <div class="entryOverview">
       All module ids that have ever been requested. In concurrent loading these
are the ones to subtract from future requests.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line79">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.prototype.userInitiatedLoadingModuleIds_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">userInitiatedLoadingModuleIds_</span>
        : 
     </div>


     <div class="entryOverview">
       The ids of the currently loading modules which have been initiated by user
actions.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line97">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.prototype.userLastActive_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">userLastActive_</span>
        : 
     </div>


     <div class="entryOverview">
       Determines if the module manager was just user active before the processing
of the last data. The module manager is user active if any of the
user-initiated modules are loading or queued up to load.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line263">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>

<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_Disposable.html">
              goog.Disposable
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.Disposable.prototype.creationStack"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">creationStack</span>
        : 
     </div>


     <div class="entryOverview">
       If monitoring the goog.Disposable instances is enabled, stores the creation
stack trace of the Disposable instance.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_disposable_disposable.js.source.html#line144">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.Disposable.prototype.disposed_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">disposed_</span>
        : 
     </div>


     <div class="entryOverview">
       Whether the object has been disposed of.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_disposable_disposable.js.source.html#line128">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.Disposable.prototype.onDisposeCallbacks_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">onDisposeCallbacks_</span>
        : 
     </div>


     <div class="entryOverview">
       Callbacks to invoke when this object is disposed.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_disposable_disposable.js.source.html#line136">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>




<h2>Static Methods</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.module.ModuleManager.getInstance"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.module.ModuleManager.</span><span class="entryName">getInstance<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line44">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>



<h2>Static Properties</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.CORRUPT_RESPONSE_STATUS_CODE"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.module.ModuleManager.</span><span class="entryName">CORRUPT_RESPONSE_STATUS_CODE</span>
        : 
     </div>


     <div class="entryOverview">
       A non-HTTP status code indicating a corruption in loaded module.
This should be used by a ModuleLoader as a replacement for the HTTP code
given to the error handler function to indicated that the module was
corrupted.
This will set the forceReload flag on the loadModules method when retrying
module loading.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line191">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.instance_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.module.ModuleManager.</span><span class="entryName">instance_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line44">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.superClass_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.module.ModuleManager.</span><span class="entryName">superClass_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line44">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>



<h2>Enumerations</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.CallbackType"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.module.ModuleManager.</span><span class="entryName">CallbackType</span>
        : 
     </div>


     <div class="entryOverview">
       The type of callbacks that can be registered with the module manager,.

     </div>

     <div class="entryDetails">
       <div class="detailsSection">
          <b>Constants:</b>
          <table class="horiz-rule">
            <tbody>
              <tr><td>
                <span class="entryName">
                  ACTIVE
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  ERROR
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  IDLE
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  USER_ACTIVE
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  USER_IDLE
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
           </tbody>
         </table>
       </div>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line152">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>





  <a name="goog.module.ModuleManager.FailureType"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.module.ModuleManager.</span><span class="entryName">FailureType</span>
        : 
     </div>


     <div class="entryOverview">
       The possible reasons for a module load failure callback being fired.

     </div>

     <div class="entryDetails">
       <div class="detailsSection">
          <b>Constants:</b>
          <table class="horiz-rule">
            <tbody>
              <tr><td>
                <span class="entryName">
                  CONSECUTIVE_FAILURES
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  INIT_ERROR
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  OLD_CODE_GONE
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  TIMEOUT
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  UNAUTHORIZED
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
           </tbody>
         </table>
       </div>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_module_modulemanager.js.source.html#line1112">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
      <!-- Column 1 end -->
    </div>

        <div class="col2">
          <!-- Column 2 start -->
          <div class="col2-c">
            <h2 id="ref-head">Package module</h2>
            <div id="localView"></div>
          </div>

          <div class="col2-c">
            <h2 id="ref-head">Package Reference</h2>
            <div id="sideTypeIndex" rootPath="" current="module.ModuleManager"></div>
          </div>
          <!-- Column 2 end -->
        </div>
</div>
</div>

</body>
</html>
